home *** CD-ROM | disk | FTP | other *** search
- Path: inforamp.net!ts26-11
- From: rmorin@inforamp.net (Randy Charles Morin)
- Newsgroups: comp.lang.c++
- Subject: Re: Leap year
- Date: Wed, 06 Mar 96 04:26:19 GMT
- Organization: MiddleWorld SoftWare
- Message-ID: <4hj451$elu@sam.inforamp.net>
- References: <3135A7F2.2120@hiwaay.net> <4hbiln$899@sam.inforamp.net> <4hesba$ph@clarknet.clark.net>
- NNTP-Posting-Host: ts26-11.tor.inforamp.net
- X-Newsreader: News Xpress Version 1.0 Beta #4
-
- In article <4hesba$ph@clarknet.clark.net>,
- gusty@clark.net (Harlan Messinger) wrote:
- >Sorry, you didn't. (x&4) does not tell you whether x is divisible by 4.
- >(x&4) returns TRUE, for example, for 5, 6 and 7, none of which is
- >divisible by 4. And so on for 100 and 1000. And anyway, the third magic
- >number is 400, not 1000.
-
- Oops! That's what happens when you write before you think.
-
- Agrivar
-